/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.sorbonne.inf1.tp3.model;

import fr.sorbonne.inf1.tp3.model.exception.AnnuiteApplicationException;
import fr.sorbonne.inf1.tp3.model.exception.CalculAnnuiteApplicationException;
import fr.sorbonne.inf1.tp3.model.exception.InternalErrorException;
import fr.sorbonne.inf1.tp3.model.exception.NbAnneesApplicationException;
import fr.sorbonne.inf1.tp3.model.exception.MontantApplicationException;
import fr.sorbonne.inf1.tp3.model.exception.TauxApplicationException;


/**
 * 
 * @author Dubos Romain
 * @author Oukherfellah Riad
 */
public interface InterfaceApplication{
    
    
    public Double calculerAnnuite(Double pMontant, int pNb_annee, Double pTaux) throws InternalErrorException, AnnuiteApplicationException, MontantApplicationException, TauxApplicationException, NbAnneesApplicationException, CalculAnnuiteApplicationException;
    
    public Double calculerNbAnnees(Double pMontant, Double pTaux, int pAnnuite) throws InternalErrorException, AnnuiteApplicationException, MontantApplicationException, TauxApplicationException, NbAnneesApplicationException, CalculAnnuiteApplicationException;
    
}
